.root {
  padding: 20px;
  padding-left: 60px;
  padding-right: 6px;
  position: relative;
  box-sizing: border-box;
  * {
    box-sizing: border-box;
  }
}

.tiles {
  width: 100%;
  height: 100%;
  display: grid;
  // grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  border: 1px solid rgb(29, 34, 62);
  background-color: rgba(4, 5, 27, 1);
  position: relative;
  overflow: hidden;
  .grid {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgb(29, 34, 62) 1px, rgba(0, 0, 0, 0) 1px),
      linear-gradient(rgb(29, 34, 62) 1px, rgba(0, 0, 0, 0) 1px);
    pointer-events: none;
  }
}

.tile {
  background-color: #ffc000;
  cursor: pointer;
  &:hover {
    background-color: #ffc000e0;
  }
}

.selected {
  position: relative;
  background-color: #3ce5d3 !important;
}

.ys {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12px;
  > div {
    text-align: right;
    color: var(--theme-font-50);
  }
}

.ts {
  position: absolute;
  right: 6px;
  bottom: 0;
  width: calc(100% - 66px);
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12px;
  & > div {
    text-align: right;
    position: relative;
    color: var(--theme-font-50);
    > div {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }
}
